const Router = require('koa-router')
const router = new Router({prefix: '/basics'})
const { compile, getInfo } = require('../controller/basics.controller')
const { auth } = require('../middleware/auth.middleware')
// const { userValidator, verifyUser, cryptPassword, verifyLogin } = require('../middleware/user.middleware')
// 基本信息
router.post('/edit', auth, compile)
router.post('/getInfo', auth, getInfo)
module.exports = router
